home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Show Time 1.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
911b
|
49 lines
[SUBJECT]
Description=Display the current time (1st variant)
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- begin script
;var ddt1, delay;
;function debuteTemps1() {
; var hhmmss = " ", mymin, sec;
; delay = `delay`;
;
; adate = new Date();
; hhmmss += adate.getHours();
; mymin = adate.getMinutes();
; if (mymin < 10) hhmmss += ":0" + mymin;
; else hhmmss += ":" + mymin;
; sec = adate.getSeconds();
; if (sec < 10) hhmmss += ":0" + sec;
; else hhmmss += ":" + sec;
; hhmmss = " " + hhmmss;
; document.Temps11.heure.value = hhmmss;
;
; ddt1 = setTimeout("debuteTemps1(delay)",delay);
;}
;// end script -->
;</script>
;
[BODY_TAG]
;onLoad="debuteTemps1()" onUnload="clearTimeout(ddt1)"
[BODY_TEXT]
;<form name="Temps11">
;<input type="text" name="heure" size="12"><br>
;</form>
;
[`delay`]
Kind=N
Value=1000